import React from "react";
import MyCarousel from "../../view/Carousel"
import { Layout } from 'antd';
import MyHeader from "../../view/Header";
import StoreList from "../../view/StoreList";


const { Content, Footer } = Layout;


export default function Visit(props) {

    return (
        <Layout className="layout">
            <MyHeader type={0} />
            <Content
                style={{
                    padding: '0 50px',
                    width: '100%',
                    alignSelf:'center'
                }}
            >
                {/* <div className="site-layout-content">Content</div> */}
                <MyCarousel></MyCarousel>
                <StoreList></StoreList>
            </Content>
            <Footer
                style={{
                    textAlign: 'center',
                    background:"#001529",
                    color:"white"
                }}
            >
                Ant Design ©2018 Created by Ant UED
            </Footer>
        </Layout>
    )
}
